#ifndef __LISTBOX_H_ 
#define __LISTBOX_H_ 

#include <sstream>
#include <People.h>
#include <Format.h>

struct ListBox
{   
	virtual void display(std::ostream& os) = 0;    
	virtual ~ListBox() {}
};
 
class ListBoxPeople:public ListBox
{    
public:
	ListBoxPeople(People& people,Format& format);
	virtual void display(std::ostream& os);
	static void changeLengthFormat(Format& format);
private:
	People  people_m;
	static Format* pFormat_m;
}; 
#endif
